package com.rp.system.po;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.raptor.entity.BaseModel3;

@Entity
@Table(name="RP_SYSTEM_TASKS")
public class Task extends BaseModel3 {

	private static final long serialVersionUID = 2617327881753018038L;
	
	public static final String RUNNING = "运行中";
	public static final String PAUSE = "暂停";
	public static final String STOP = "停止";
	public static final String COMPLETE = "已完成";
	
	private String taskName;		//任务名称
	private String startTime;		//开始时间
	private String endTime;			//结束时间
	private String intervalTime;	//间隔时间
	private Integer repeatCount;	//重复次数
	private String jobClass;		//任务类的全路径类名
	private String taskStatus;		//任务状态
	
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getIntervalTime() {
		return intervalTime;
	}
	public void setIntervalTime(String intervalTime) {
		this.intervalTime = intervalTime;
	}
	public Integer getRepeatCount() {
		return repeatCount;
	}
	public void setRepeatCount(Integer repeatCount) {
		this.repeatCount = repeatCount;
	}
	public String getJobClass() {
		return jobClass;
	}
	public void setJobClass(String jobClass) {
		this.jobClass = jobClass;
	}
	public String getTaskStatus() {
		return taskStatus;
	}
	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}
	
}
